package com.medical.project.system.domain;

import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 慢性病分类管理对象 t_disease_type
 * 
 * @author tale
 * @date 2020-05-24
 */
public class DiseaseType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 疾病编码 */
    @Excel(name = "疾病编码")
    private String diseaseCode;

    /** 拼音码 */
    @Excel(name = "拼音码")
    private String pinyinCode;

    /** 疾病名称 */
    @Excel(name = "疾病名称")
    private String diseaseName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDiseaseCode(String diseaseCode) 
    {
        this.diseaseCode = diseaseCode;
    }

    public String getDiseaseCode() 
    {
        return diseaseCode;
    }
    public void setPinyinCode(String pinyinCode) 
    {
        this.pinyinCode = pinyinCode;
    }

    public String getPinyinCode() 
    {
        return pinyinCode;
    }
    public void setDiseaseName(String diseaseName) 
    {
        this.diseaseName = diseaseName;
    }

    public String getDiseaseName() 
    {
        return diseaseName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("diseaseCode", getDiseaseCode())
            .append("pinyinCode", getPinyinCode())
            .append("diseaseName", getDiseaseName())
            .toString();
    }
}
